import axios from 'axios'

export default {
  async searchShopInfo (shopId) {
    let result = await axios({
      url: '/api/salesPerson/getSalesInfo/' + shopId,
      method: 'get'
    })
    return result
  },
  async recordAfterSaleCenter (data) {
    let result = await axios({
      url: '/api/salesPerson/recordAfterSaleCenter',
      method: 'post',
      data: data
    })
    return result
  }
}
